Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add set & get element position funcs #1

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

Fernando-A-Rocha
Copy link
Contributor

@Fernando-A-Rocha Fernando-A-Rocha commented Oct 9, 2024

Copy link
Member

@botder botder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably know what to change in setElementPosition.yaml with my review comments.

functions/Element/examples/getElementPosition.lua Outdated Show resolved Hide resolved
functions/Element/examples/setElementPosition.lua Outdated Show resolved Hide resolved
functions/Element/getElementPosition.yaml Outdated Show resolved Hide resolved
functions/Element/getElementPosition.yaml Outdated Show resolved Hide resolved
functions/Element/getElementPosition.yaml Outdated Show resolved Hide resolved
functions/Element/getElementPosition.yaml Show resolved Hide resolved
functions/Element/getElementPosition.yaml Outdated Show resolved Hide resolved
functions/Element/getElementPosition.yaml Outdated Show resolved Hide resolved
@lynconsix
Copy link

What about syntax OOP? How is it done?

@botder
Copy link
Member

botder commented Oct 10, 2024

What about syntax OOP? How is it done?

Support has been added in 003d850.

server:
  name: setPlayerName
  oop:
    entity: player
    method: setName
    variable: name
server:
  name: createVehicle
  oop:
    entity: vehicle
    constructor: Vehicle
client:
  name: fadeCamera
  oop:
    entity: Camera
    method: fade
    static: true

@Fernando-A-Rocha
Copy link
Contributor Author

I've handled the issues and added OOP syntax.
I'll be more careful next time

@botder

@botder botder merged commit 2568b0f into multitheftauto:main Oct 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants